package com.gzdh.device.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;

@Data
public class SysDepart {

    @TableId(type = IdType.ID_WORKER_STR)
    private String id;


    private String parentId;

    private String departName;
    private String departNameEn;
    private String departNameAbbr;
    private Integer departOrder;
    private String description;
    private String orgCategory;
    private String orgType;
    private String orgCode;
    private String mobile;
    private String fax;
    private String address;
    private String memo;
    private Integer status;

    /**
     * 是否有叶子节点: 1是0否
     */
    private Integer izLeaf;


    private Date createTime;


    private boolean delFlag;

    /*


  `del_flag` varchar(1) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '删除状态（0，正常，1已删除）',
  `qywx_identifier` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '对接企业微信的ID',
  `create_by` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '创建人',
  `create_time` datetime DEFAULT NULL COMMENT '创建日期',
  `update_by` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '更新人',
  `update_time` datetime DEFAULT NULL COMMENT '更新日期',
  `tenant_id` int DEFAULT '0' COMMENT '租户ID',
  `iz_leaf` tinyint(1) DEFAULT '0' COMMENT '是否有叶子节点: 1是0否',


     */
}
